package com.power.authservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.power.authservice.domain.LoinSysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface LoginSysUserMapper extends BaseMapper<LoinSysUser> {
    int deleteByPrimaryKey(Long userId);

    int insert(LoinSysUser record);

    int insertSelective(LoinSysUser record);

    LoinSysUser selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(LoinSysUser record);

    int updateByPrimaryKey(LoinSysUser record);

    Set<String> selectPermsByUserId(Long userId);
}